package feng.sql.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author 风之守望者	2011-11-11
 */
@Entity
@Table(name="player")
public class Player
{
	/** 编号 */
	private int id;
	/** 名称 */
	private String username;
	/** 密码 */
	private String password;
	
	@Id
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
}
